package com.mall.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BatchStockRequest {
    private List<Long> productIds;
    private String operationType; // "deduct", "restore", "set" 减少库存 恢复库存 设置库存
    private Integer amount; //操作数必须大于零
}